<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>博客后端管理页面</title>
    <link rel="stylesheet" type="text/css" href="../../static/css/semantic.min.css">
    <link rel="stylesheet" type="text/css" href="../../static/css/index.css">
</head>
<body>

<!--头部导航-->
<nav class="ui inverted attached segment m-shadow-small">
    <div class="ui container">
        <!--stackable 表明可以堆列 移动端适配-->
        <div class="ui inverted stackable secondary menu m-min">
            <h2 class="ui teal item header">后台管理系统</h2>
            <a href="" class="active m-item item m-mobile-hide"><i class=" home icon"></i>博客</a>
            <a href="" class=" m-item item m-mobile-hide"><i class=" idea icon"></i>分类</a>
            <a href="" class=" m-item item m-mobile-hide"><i class=" tags icon"></i>标签</a>
            <div class="right m-item item m-mobile-hide">
                <div class="ui item dropdown">
                    <div class="text">
                        <img class="ui avatar image" src="../../static/images/box.png">
                        赵广晓
                    </div>
                    <i class="dropdown icon"></i>
                    <div class="menu">
                        <a href="#" class="item" target="_blank">注销</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <a href="#" class="ui menu toggle black icon button m-mobile-top-right m-mobile-show">
        <i class="sidebar icon"></i>
    </a>
</nav>

<!--二级导航-->
<div class="ui attached pointing menu">
    <div class="ui container">
        <a href="#" target="_blank" class="item">发布</a>
        <a href="#" target="_blank" class="active teal item">列表</a>
    </div>
</div>

<!--中间内容   ctrl+enter先输入内容然后注释-->
<!--div +tab 快速补全代码-->
<div class="m-container-small m-padded-tb-big">
    <div class="container">
        <!--搜索条件-->
        <form action="#" class="ui segment form">
            <div class=" inline fields">
                <div class="field"><input type="text" name="" placeholder="标题"></div>
                <div class="field">
                    <div class="ui selection dropdown">
                        <input type="hidden" name="gender">
                        <i class="dropdown icon"></i>
                        <div class="default text">类型</div>
                        <div class="menu">
                            <div class="item" data-value="1">原创</div>
                            <div class="item" data-value="0">转载</div>
                        </div>
                    </div>
                </div>
                <div class="field">
                    <div class="ui checkbox">
                        <input type="checkbox" name="" id="recommend">
                        <label for="recommend">推荐</label>
                    </div>
                </div>
                <div class="right floated field">
                    <button class="ui teal basic button" type="submit">
                        <i class="search icon"></i>
                        提交
                    </button>
                </div>
            </div>
        </form>
        <!--表格列表-->
        <table class="ui celled table">
            <thead>
            <tr>
                <th>标题</th>
                <th>类型</th>
                <th>推荐</th>
                <th>更新时间</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr class="center aligned">
                <td>
                    <div class="ui ribbon label">第一</div>
                </td>
                <td>空间</td>
                <td>空间</td>
                <td>空间</td>
                <td>
                    <a href="#" class="ui button teal basic mini">编辑</a>
                    <a href="#" class="ui button red basic mini">删除</a>
                </td>
            </tr>
            <tr class="center aligned">
                <td>空间</td>
                <td>空间</td>
                <td>空间</td>
                <td>空间</td>
                <td>
                    <a href="#" class="ui button teal basic mini">编辑</a>
                    <a href="#" class="ui button red basic mini">删除</a>
                </td>
            </tr>
            <tr class="center aligned">
                <td>空间</td>
                <td>空间</td>
                <td>空间</td>
                <td>空间</td>
                <td>
                    <a href="#" class="ui button teal basic mini">编辑</a>
                    <a href="#" class="ui button red basic mini">删除</a>
                </td>
            </tr>
            </tbody>
            <tfoot>
            <tr>
                <th colspan="2">
                    <a href="#" class="ui mini teal basic button">
                        <i class="plus icon"></i>
                        新增
                    </a>
                </th>
                <th colspan="3">
                    <div class="ui right floated pagination menu">
                        <a class="icon item">
                            <i class="left chevron icon"></i>
                        </a>
                        <a class="item">1</a>
                        <a class="item">2</a>
                        <a class="item">3</a>
                        <a class="item">4</a>
                        <a class="icon item">
                            <i class="right chevron icon"></i>
                        </a>
                    </div>
                </th>
            </tr>
            </tfoot>
        </table>
    </div>
</div>


<!--尾部-->
<footer class="ui inverted segment vertical m-max">
    <div class="ui center aligned container">
        <div class="ui inverted stackable divided grid">
            <div class="three wide column">
                <div class="ui inverted link list">
                    <div class="item">
                        <img src="../../static/images/2017-07-10_59631d2325129.jpg" alt="" class="ui rounded image"
                             style="width: 10em;height: 10em">
                    </div>
                </div>
            </div>
            <div class="three wide column">
                <h4 class="ui inverted header m-text-thin m-text-spaced">最新博客</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item">用户故事</a>
                    <a href="#" class="item">用户故事</a>
                    <a href="#" class="item">用户故事</a>
                </div>
            </div>
            <div class="three wide column">
                <h4 class="ui inverted header m-text-thin m-text-spaced">联系我们</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item">Email:1764773283@qq.com</a>
                    <a href="#" class="item">qq:1764773283</a>
                </div>
            </div>
            <div class="seven wide column">
                <h4 class="ui inverted header m-text-thin m-text-spaced">Blog</h4>
                <p class="m-text-thin m-text-spaced m-opacity-mini">
                    这是我的个人博客,会分享关于编程,写作,思考相关的任何内容,希望可以
                    给来到这里的人有所帮助...
                </p>
            </div>
        </div>
        <div class="ui inverted section divider"></div>
        <p class="m-text-thin m-text-spaced m-opacity-mini">
            浙ICP备19020311号-1 网站名称 青春似水流年
        </p>
    </div>
</footer>


<!--引入js-->
<script src="../../static/js/jquery.min.js"></script>

<script src="../../static/js/semantic.min.js"></script>
<script>
    // 移动端动态显示头部标签
    $('.menu.toggle').click(function () {
        $('.m-item').toggleClass('m-mobile-hide');
    });


    $('.ui.dropdown').dropdown();


</script>
</body>
</html>